<?php
function get_profile(){
	
}
function save_profile($userid,$email,$phone){
	$query="UPDATE USER SET EMAIL='$email',PHONE='$phone' where USERID=$userid";
	mysql_query($query);
}
function save_profile_pass($userid,$newpass){
	$query="UPDATE USER SET PASSWORD=md5('$newpass') where USERID=$userid";
	mysql_query($query);
}
?>